package cn.tedu.antconlonysever.contract.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 客户实体类
 */
@Data
@TableName("t_customer")
public class Customer implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String no;
    private String name;
    private String area;
    private String cusManager;
    private String address;
    private String type;
    private String postcode;
    private String phone;
    private String source;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime nextMeeting;
    private String accountBank;
    private String accountNumber;
    private Integer state;
    private Integer isValid;
    private LocalDateTime gmtCreate;
    private LocalDateTime gmtModified;

}
